package com.jsoft.jsofted.framework.utils;

import java.util.List;

public abstract class ObjectUtils {
    public static String join(List<String> list, String seperator) {
        if (list == null || list.size() == 0) {
            return "";
        }
        StringBuffer sb = new StringBuffer();
        sb.append(list.get(0));
        int len = list.size();
        for (int i = 1; i < len; i++) {
            sb.append(seperator);
            sb.append(list.get(i));
        }
        return sb.toString();
    }
}
